package com.lww.feature.aop;

/**
 * User: yian
 * Date: 2018/9/2
 */
public class ChinaDog implements Dog {

    @Override
    public void shout(String name) {
        System.out.println("中华田园犬"+name+" 叫了一声");
    }
    @Override
    public void sleep(String name) {
        System.out.println("中华田园犬"+name+" 睡着了");
    }
    public void error() throws Exception {
        throw new Exception("shout exception");
    }

}
